package com.bsoft.exchange.dao.his;

import java.util.List;
import java.util.Map;

import com.bsoft.exchange.domain.Invoice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.bsoft.exchange.domain.PatientDomain;

@Mapper
public interface PatientMapper {
	
	public PatientDomain getPatientById(@Param("brid") Long brid);
	public List<PatientDomain> getPatientByIdList(Map<String,Object> args);
	public List<PatientDomain> getPhoneAndCards(Map<String,Object> args);
	public List<PatientDomain> getPhoneAndCardsInHospital(Map<String,Object> args);
	
	public void savePatient(PatientDomain patient);
	public void updatePatient(PatientDomain patient);

	List<Invoice> getInvoiceList(@Param("idCard") String idCard);
	
}